<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QSculpt: SceneModel Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QSculpt
   &#160;<span id="projectnumber">0.0.1a</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">SceneModel Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="SceneModel" -->
<p><a href="class_scene_model-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_scene_model_1_1_impl.html">Impl</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a16670157ec925f6b8219d9c3f7b52272"></a><!-- doxytag: member="SceneModel::SceneModel" ref="a16670157ec925f6b8219d9c3f7b52272" args="(Scene::SharedPtr scene=NULL, QObject *parent=NULL)" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>SceneModel</b> (Scene::SharedPtr scene=NULL, QObject *parent=NULL)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scene_model.html#ab897e6b7ec8e760e8382b4cde94545ea">columnCount</a> (const QModelIndex &amp;parent=QModelIndex()) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ade06168eb57a3f3adc6073a5985f9d84"></a><!-- doxytag: member="SceneModel::data" ref="ade06168eb57a3f3adc6073a5985f9d84" args="(const QModelIndex &amp;index, int role=Qt::DisplayRole) const " -->
virtual QVariant&#160;</td><td class="memItemRight" valign="bottom"><b>data</b> (const QModelIndex &amp;index, int role=Qt::DisplayRole) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af1503baf2a4c141e5577e2511aa2b20e"></a><!-- doxytag: member="SceneModel::index" ref="af1503baf2a4c141e5577e2511aa2b20e" args="(int row, int column, const QModelIndex &amp;parent=QModelIndex()) const " -->
virtual QModelIndex&#160;</td><td class="memItemRight" valign="bottom"><b>index</b> (int row, int column, const QModelIndex &amp;parent=QModelIndex()) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a555b3f4b1300e48bebe29ff143428094"></a><!-- doxytag: member="SceneModel::parent" ref="a555b3f4b1300e48bebe29ff143428094" args="(const QModelIndex &amp;index) const " -->
virtual QModelIndex&#160;</td><td class="memItemRight" valign="bottom"><b>parent</b> (const QModelIndex &amp;index) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a59dbd1cac0b9593b6ad431c35a476b58"></a><!-- doxytag: member="SceneModel::rowCount" ref="a59dbd1cac0b9593b6ad431c35a476b58" args="(const QModelIndex &amp;parent=QModelIndex()) const " -->
virtual int&#160;</td><td class="memItemRight" valign="bottom"><b>rowCount</b> (const QModelIndex &amp;parent=QModelIndex()) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a569a9c94e3a9eaca7eb22ebdf8da285e"></a><!-- doxytag: member="SceneModel::insertRow" ref="a569a9c94e3a9eaca7eb22ebdf8da285e" args="(int row, const QModelIndex &amp;parent=QModelIndex())" -->
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><b>insertRow</b> (int row, const QModelIndex &amp;parent=QModelIndex())</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Scene::SharedPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scene_model.html#a1b368021bd774fe0c443a15f864cb22b">scene</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7adf3c6cb12656635b8f1ea68806f2a0"></a><!-- doxytag: member="SceneModel::scene" ref="a7adf3c6cb12656635b8f1ea68806f2a0" args="() const " -->
Scene::const_shared_ptr&#160;</td><td class="memItemRight" valign="bottom"><b>scene</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scene_model.html#afbde1e830adb9da4b801edb3c2b9fcc6">setScene</a> (const Scene::SharedPtr &amp;scene)</td></tr>
</table>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ab897e6b7ec8e760e8382b4cde94545ea"></a><!-- doxytag: member="SceneModel::columnCount" ref="ab897e6b7ec8e760e8382b4cde94545ea" args="(const QModelIndex &amp;parent=QModelIndex()) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SceneModel::columnCount </td>
          <td>(</td>
          <td class="paramtype">const QModelIndex &amp;&#160;</td>
          <td class="paramname"><em>parent</em> = <code>QModelIndex()</code></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the number of columns for this model. </p>

</div>
</div>
<a class="anchor" id="a1b368021bd774fe0c443a15f864cb22b"></a><!-- doxytag: member="SceneModel::scene" ref="a1b368021bd774fe0c443a15f864cb22b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Scene::SharedPtr SceneModel::scene </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the scene object this model uses to retrieve data from. </p>

</div>
</div>
<a class="anchor" id="afbde1e830adb9da4b801edb3c2b9fcc6"></a><!-- doxytag: member="SceneModel::setScene" ref="afbde1e830adb9da4b801edb3c2b9fcc6" args="(const Scene::SharedPtr &amp;scene)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SceneModel::setScene </td>
          <td>(</td>
          <td class="paramtype">const Scene::SharedPtr &amp;&#160;</td>
          <td class="paramname"><em>scene</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sets the scene that the model makes reference to. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>qsculpt/include/<a class="el" href="_scene_model_8h_source.html">SceneModel.h</a></li>
<li>engine/src/Mesh.cpp</li>
<li>qsculpt/src/SceneModel.cpp</li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu May 31 2012 16:19:52 for QSculpt by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
